Thanks for Reply !!
I can use below code but not a formula bcoz i have multiple attachment field (RTs)
if( document1.getAttachmentList("Body").isEmpty() ){
var msg = new javax.faces.application.FacesMessage("No File added!");
facesContext.addMessage( "No File!", msg );
return false;
}
But the above code didn't work. Do i need to design a facet to work or Error message control is okay. Please tell me the process